package ZUOYE0421;

import java.util.Scanner;

public class 预习作业 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int[] num = new int[10];
		int sum = 1;
		for (int a = 1, i = 0; a <= 10; a++, i++) {
			System.out.println("输入第" + a + "个数：");
			num[i] = in.nextInt();
			sum = sum * num[i];
		}
		System.out.println(sum);

	}

}